cmake_minimum_required(VERSION 3.24)
project(PlantsVSZombiesV1)

include_directories(
        ./include
        E:/SDL/3dpart/include)

link_directories(E:/SDL/3dpart/lib)

set(CMAKE_CXX_STANDARD 20)

add_executable(PlantsVSZombiesV1 main.cpp
        src/Content.cpp
        include/Content.h
        src/Scene.cpp
        include/Scene.h
        src/SceneManager.cpp
        include/SceneManager.h
        src/Atlas.cpp
        include/Atlas.h
        src/Animation.cpp
        include/Animation.h
        src/MainMenuScene.cpp
        include/MainMenuScene.h
        src/PlayerSelectionScene.cpp
        include/PlayerSelectionScene.h
        src/GameScene.cpp
        include/GameScene.h
        src/Vector2.cpp
        include/Vector2.h
        src/Camera.cpp
        include/Camera.h
        src/MyTimer.cpp
        include/MyTimer.h
        include/DrawUtils.h
        src/Platform.cpp
        include/Platform.h
        src/Player.cpp
        include/Player.h
        src/PeashooterPlayer.cpp
        include/PeashooterPlayer.h
        src/SunflowerPlayer.cpp
        include/SunflowerPlayer.h
        src/Bullet.cpp
        include/Bullet.h
        src/PeaBullet.cpp
        include/PeaBullet.h
        src/SunBullet.cpp
        include/SunBullet.h
        src/SunBulletEx.cpp
        include/SunBulletEx.h
        include/PlayerType.h
        src/StatusBar.cpp
        include/StatusBar.h
        src/particle.cpp
        include/particle.h)

target_link_libraries(PlantsVSZombiesV1 SDL2 SDL2main SDL2_image SDL2_mixer SDL2_ttf)
